	

	$(document).ready(function(){
		//Fee default.
		$.post(
				base_url+'menutab/standard_fee/',
				{number_visa:$("#num-visa").val(), type_visa:$("#type-visa").val(), currency:$("#currency :selected").val()},
				function(data){
					$("#show_standard_service").html(data);
				}
		);
		
		$.post(
				base_url+'menutab/express_fee/',
				{number_visa:$("#num-visa").val(), type_visa:$("#type-visa").val(), currency:$("#currency :selected").val()},
				function(data){
					$("#show_express_service").html(data);
				}
		);
		
		$.post(
				base_url+'menutab/stamping_fee/',
				{type_visa:$("#type-visa").val(), currency:$("#currency :selected").val()},
				function(data){
					$("#show_stamping_fee").html(data);
				}
		);
		
		
		
		//Fee calculate while changing number visas and type for standard.
		$(".change-fee").change(function(){
			$.post(
					base_url+'menutab/standard_fee/',
					{number_visa:$("#num-visa :selected").val(), type_visa:$("#type-visa :selected").val(), currency:$("#currency :selected").val()},
					function(data){
						$("#show_standard_service").html(data);
					}
					
			);
		});
		
		$("#type-visa").change(function(){
			$.post(
					base_url+'menutab/stamping_fee/',
					{type_visa:$("#type-visa").val(), currency:$("#currency :selected").val()},
					function(data){
						$("#show_stamping_fee").html(data);
					}
			);
		});
		
		$("#currency").change(function(){
			$.post(
					base_url+'menutab/stamping_fee/',
					{type_visa:$("#type-visa").val(), currency:$("#currency :selected").val()},
					function(data){
						$("#show_stamping_fee").html(data);
					}
			);
		});
		
		
		
		//Fee calculate while changing number visas and type for express.
		$(".change-fee").change(function(){
			$.post(
					base_url+'menutab/express_fee/',
					{number_visa:$("#num-visa").val(), type_visa:$("#type-visa").val(), currency:$("#currency :selected").val()},
					function(data){
						$("#show_express_service").html(data);
					}
					
			);
		});
		
	});
		